use anyhow::Result;
use thiserror::Error;

pub type CommResult<T> = Result<T>;

#[derive(Error, Debug)]
pub enum CommError {
    #[error("请求数据body为空")]
    NoneRequestData,
    #[error("unknown data store error")]
    ConfigFileError(String),
    #[error("unknown data store error")]
    Unknown,
}